Skip to content

Prevent multiple order addresses from same type#2507

Open
mathis-gasparotto wants to merge 1 commit into
lunarphp:1.xfrom
mathis-gasparotto:patch-1
Open

Prevent multiple order addresses from same type#2507
mathis-gasparotto wants to merge 1 commit into
lunarphp:1.xfrom
mathis-gasparotto:patch-1

Conversation

@mathis-gasparotto
Copy link
Copy Markdown
Contributor

@mathis-gasparotto mathis-gasparotto commented May 29, 2026

Prevent multiple order addresses from same type (and different post code).
Because when I get $order->shippingAddress, I get the oldest one.

This causes a problem when a shopping cart is converted into an order but not completed, and then the same cart is converted back into an order with new addresses.

Prevent multiple order addresses from same type (and different post code).
Because when I get $order->shippingAddress, I get the oldest one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant